package com.ls.pattern.flyweight.poker;


import java.util.Arrays;
import java.util.List;

public class GameServer {

    public static void main(String[] args) {
        List<Player> list = Arrays.asList(new Player("张三"), new Player("李四"), new Player("王五"));
        Shuffler.deal(list);

        for (Player player : list) {
            player.showPokers();
        }

    }
}